﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCP.Infrastructure.Common.Specification;

namespace NCP.Recruiting.Domain.Aggregates.Contracts {
    public static class ContractSpecifications {
        public static Specification<Contract> GetContractsByCompany(Guid id) {
            return new DirectSpecification<Contract>(c => c.CompanyId == id);
        }
    }
}
